package com.gzx.plugin.website.user.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gzx.plugin.website.user.entity.GzxWebsiteUserLog;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zjt
 * @description
 * @date 2025/1/8 16:58
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxWebsiteUserLog.class)
public class GzxWebsiteUserLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 身份证号码
     */
    @ExcelProperty("身份证号")
    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String accuserIdCard;

    /**
     * 手机号
     */
    @ExcelProperty("手机号")
    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String mobile;

    @ExcelProperty("IP")
    private String ip;

    @ExcelProperty("渠道")
    private String channel;

    @ExcelProperty("创建时间")
    private String createTime;

}
